.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 11000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    background: rgba(25, 25, 35, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    max-width: 400px;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.hiding {
    transform: translateX(120%);
    opacity: 0;
}

.toast-icon,
.toast-image {
    font-size: 24px;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-icon i {
    font-size: 20px;
}

.toast-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.toast-content {
    flex: 1;
    min-width: 0;
}

.toast-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2px;
}

.toast-message {
    font-size: 14px;
    color: #fff;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}

.toast-close:hover {
    color: #fff;
}

.toast-success {
    border-left: 3px solid #22c55e;
}

.toast-success .toast-title {
    color: #22c55e;
}

.toast-error {
    border-left: 3px solid #ef4444;
}

.toast-error .toast-title {
    color: #ef4444;
}

.toast-warning {
    border-left: 3px solid #f59e0b;
}

.toast-warning .toast-title {
    color: #f59e0b;
}

.toast-info {
    border-left: 3px solid #3b82f6;
}

.toast-info .toast-title {
    color: #3b82f6;
}

.toast-achievement {
    border-left: 3px solid #fbbf24;
    background: linear-gradient(135deg, rgba(25, 25, 35, 0.95), rgba(251, 191, 36, 0.1));
}

.toast-achievement .toast-title {
    color: #fbbf24;
}

.toast-sms {
    border-left: 3px solid #8b5cf6;
}

.toast-sms .toast-title {
    color: #8b5cf6;
}

.toast-love {
    border-left: 3px solid #ec4899;
}

.toast-love .toast-title {
    color: #ec4899;
}

.toast-corruption {
    border-left: 3px solid #dc2626;
}

.toast-corruption .toast-title {
    color: #dc2626;
}

.toast-money {
    border-left: 3px solid #22c55e;
}

.toast-money .toast-title {
    color: #22c55e;
}

.toast-stat {
    border-left: 3px solid #06b6d4;
}

.toast-stat .toast-title {
    color: #06b6d4;
}

.achievements-container {
    padding: 20px;
}

.achievements-header {
    margin-bottom: 24px;
}

.achievements-progress {
    display: flex;
    align-items: center;
    gap: 16px;
}

.achievements-progress .progress-bar {
    flex: 1;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
}

.achievements-progress .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    border-radius: 6px;
    transition: width 0.5s ease;
}

.achievements-progress .progress-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}

.achievements-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.achievement-category {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 16px;
}

.category-title {
    font-size: 16px;
    font-weight: 600;
    color: #fbbf24;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.category-achievements {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.achievement-item.unlocked {
    background: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.3);
}

.achievement-item.locked {
    opacity: 0.6;
}

.achievement-item .achievement-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.achievement-item .achievement-icon i {
    font-size: 22px;
}

.achievement-item .achievement-info {
    flex: 1;
    min-width: 0;
}

.achievement-item .achievement-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}

.achievement-item .achievement-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.3;
}

.achievement-item .achievement-check {
    width: 24px;
    height: 24px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
}

.gallery-redesign {
    padding: 8px;
}

.gallery-path-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.gallery-path-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-path-tab:hover {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
}

.gallery-path-tab.active.love {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.25), rgba(219, 39, 119, 0.15));
    color: #f472b6;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(236, 72, 153, 0.3);
}

.gallery-path-tab.active.ntr {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(220, 38, 38, 0.15));
    color: #f87171;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.gallery-path-tab.active.random {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(124, 58, 237, 0.15));
    color: #a78bfa;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.gallery-tab-count {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.7;
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 8px;
    border-radius: 8px;
}

.gallery-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.gallery-progress-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.gallery-progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-progress-fill.love {
    background: linear-gradient(90deg, #ec4899, #f472b6);
}

.gallery-progress-fill.ntr {
    background: linear-gradient(90deg, #ef4444, #f87171);
}

.gallery-progress-fill.random {
    background: linear-gradient(90deg, #8b5cf6, #a78bfa);
}

.gallery-location-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(124, 58, 237, 0.15));
    border: 2px solid rgba(139, 92, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #a78bfa;
}

.gallery-progress-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    min-width: 80px;
    text-align: right;
}

.gallery-unlock-all-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.15));
    border: 1px solid rgba(251, 191, 36, 0.4);
    border-radius: 8px;
    color: #fbbf24;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.gallery-unlock-all-btn:hover {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.35), rgba(245, 158, 11, 0.25));
    box-shadow: 0 0 16px rgba(251, 191, 36, 0.2);
    transform: translateY(-1px);
}

.gallery-ntr-notice {
    margin: 12px 0;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.5;
}

.gallery-ntr-notice i {
    margin-right: 8px;
    color: rgba(251, 191, 36, 0.9);
}

.gallery-ntr-notice p {
    margin: 0 0 6px 0;
}

.gallery-ntr-notice p:last-child {
    margin-bottom: 0;
}

.gallery-ntr-notice strong {
    color: rgba(255, 255, 255, 0.9);
}

.gallery-characters-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gallery-char-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color 0.3s ease;
}

.gallery-char-section:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.gallery-char-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-char-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.gallery-char-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 2px 0;
}

.gallery-char-count {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
}

.gallery-scene-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.gallery-scene-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-scene-card.unlocked {
    cursor: pointer;
}

.gallery-scene-card.unlocked:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

.gallery-scene-card.unlocked:hover .gallery-scene-overlay {
    opacity: 1;
}

.gallery-scene-thumb-wrap {
    position: relative;
    aspect-ratio: 16/10;
    background: rgba(20, 20, 30, 0.6);
}

.gallery-scene-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-scene-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-scene-overlay i {
    font-size: 32px;
    color: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.gallery-scene-badge {
    position: absolute;
    top: 6px;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
}

.gallery-scene-badge.video {
    right: 6px;
    background: rgba(139, 92, 246, 0.8);
    color: #fff;
}

.gallery-scene-badge.fav {
    left: 6px;
    color: #fbbf24;
    background: rgba(0, 0, 0, 0.5);
}

.gallery-scene-name {
    display: block;
    padding: 6px 8px;
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: rgba(0, 0, 0, 0.3);
}

.gallery-scene-card.locked {
    aspect-ratio: 16/10;
    background: rgba(20, 20, 30, 0.6);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.gallery-scene-card.locked .gallery-scene-name {
    background: transparent;
    color: rgba(255, 255, 255, 0.3);
    font-size: 10px;
}

.gallery-scene-locked-overlay {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.15);
}

.gallery-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
}

.gallery-empty-state i {
    font-size: 48px;
    opacity: 0.3;
    margin-bottom: 16px;
}

.gallery-empty-state p {
    font-size: 16px;
    margin-bottom: 6px;
}

.gallery-empty-state span {
    font-size: 13px;
    opacity: 0.7;
}

.gallery-viewer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(8px);
}

.gallery-viewer-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.gallery-viewer-content {
    background: rgba(22, 22, 32, 0.98);
    border-radius: 16px;
    max-width: 90vw;
    max-height: 90vh;
    width: 800px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}

.gallery-viewer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.gallery-viewer-title h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.gallery-viewer-char {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
}

.gallery-viewer-actions {
    display: flex;
    gap: 8px;
}

.gallery-viewer-btn {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-viewer-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.gallery-viewer-btn.fav.active {
    color: #fbbf24;
}

.gallery-viewer-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
    min-height: 300px;
}

.gallery-viewer-media {
    max-width: 100%;
    max-height: 65vh;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.gallery-unlock-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
}

.gallery-unlock-modal.active {
    opacity: 1;
    pointer-events: all;
}

.gallery-unlock-dialog {
    background: rgba(22, 22, 32, 0.98);
    border-radius: 16px;
    padding: 32px;
    width: 400px;
    max-width: 90vw;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
    text-align: center;
}

.gallery-unlock-header {
    margin-bottom: 16px;
}

.gallery-unlock-header i {
    font-size: 36px;
    color: #fbbf24;
    margin-bottom: 12px;
    display: block;
}

.gallery-unlock-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.gallery-unlock-dialog p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
    line-height: 1.5;
}

.gallery-unlock-input-wrap {
    margin-bottom: 20px;
}

.gallery-unlock-hint.locked-hint {
    margin-bottom: 20px;
}

.gallery-unlock-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    text-align: center;
    letter-spacing: 2px;
    box-sizing: border-box;
}

.gallery-unlock-input:focus {
    border-color: #fbbf24;
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.15);
}

.gallery-unlock-actions {
    display: flex;
    gap: 10px;
}

.gallery-unlock-cancel {
    flex: 1;
    padding: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.gallery-unlock-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.gallery-unlock-confirm {
    flex: 1;
    padding: 10px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.3), rgba(245, 158, 11, 0.2));
    border: 1px solid rgba(251, 191, 36, 0.4);
    border-radius: 10px;
    color: #fbbf24;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.gallery-unlock-confirm:hover {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.45), rgba(245, 158, 11, 0.3));
    box-shadow: 0 0 16px rgba(251, 191, 36, 0.2);
}

.cheat-confirm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10010;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    backdrop-filter: blur(6px);
}

.cheat-confirm-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.cheat-confirm-dialog {
    background: linear-gradient(180deg, rgba(28, 28, 38, 0.98) 0%, rgba(18, 18, 26, 0.98) 100%);
    border-radius: 20px;
    padding: 28px 32px;
    width: 380px;
    max-width: 92vw;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(251, 191, 36, 0.06);
    text-align: center;
    animation: cheat-confirm-appear 0.3s ease;
}

@keyframes cheat-confirm-appear {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(-8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.cheat-confirm-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.1));
    border: 1px solid rgba(251, 191, 36, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fbbf24;
    font-size: 26px;
}

.cheat-confirm-dialog h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
    letter-spacing: 0.02em;
}

.cheat-confirm-dialog p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 24px;
    line-height: 1.55;
}

.cheat-confirm-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.cheat-confirm-btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cheat-confirm-btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
}

.cheat-confirm-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.cheat-confirm-btn-primary {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.35), rgba(245, 158, 11, 0.25));
    border: 1px solid rgba(251, 191, 36, 0.45);
    color: #fbbf24;
}

.cheat-confirm-btn-primary:hover {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.5), rgba(245, 158, 11, 0.35));
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
    color: #fcd34d;
}

@media (max-width: 600px) {
    .gallery-scene-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 8px;
    }

    .gallery-path-tabs {
        flex-direction: column;
    }

    .gallery-toolbar {
        flex-wrap: wrap;
    }
}

.phone-container {
    display: flex;
    height: 500px;
    background: rgba(20, 20, 30, 0.5);
    border-radius: 12px;
    overflow: hidden;
}

.phone-sidebar {
    width: 280px;
    background: rgba(0, 0, 0, 0.2);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.phone-sidebar-header {
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-sidebar-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.phone-contacts {
    flex: 1;
    overflow-y: auto;
}

.phone-no-contacts {
    padding: 40px 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
}

.phone-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.phone-contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.phone-contact-item.active {
    background: rgba(139, 92, 246, 0.2);
}

.phone-contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.phone-contact-info {
    flex: 1;
    min-width: 0;
}

.phone-contact-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.phone-contact-preview {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.phone-unread-badge {
    background: #8b5cf6;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}

.phone-chat {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.phone-chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-chat-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.phone-chat-name {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.phone-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.phone-no-messages {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
}

.phone-message {
    max-width: 75%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 14px;
}

.phone-message.sent {
    align-self: flex-end;
    background: #8b5cf6;
    color: #fff;
    border-bottom-right-radius: 4px;
}

.phone-message.received {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-bottom-left-radius: 4px;
}

.phone-message-text {
    line-height: 1.4;
}

.phone-message-time {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
    text-align: right;
}

.phone-input-area {
    display: flex;
    gap: 12px;
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 12px 18px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.phone-input:focus {
    border-color: #8b5cf6;
}

.phone-send-btn {
    background: #8b5cf6;
    border: none;
    border-radius: 24px;
    padding: 12px 24px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.phone-send-btn:hover {
    background: #7c3aed;
}

.phone-no-chat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.phone-no-chat-icon {
    font-size: 48px;
    opacity: 0.3;
}

.phone-no-chat-icon i {
    font-size: 48px;
}

.phone-no-chat-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
}

.saves-toolbar {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.toolbar-btn {
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #e0e0e0;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.toolbar-btn:hover {
    background: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.3);
    color: #fbbf24;
    transform: translateY(-2px);
}

.saves-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .saves-grid {
        grid-template-columns: 1fr;
    }
}

.save-card {
    position: relative;
    background: rgba(30, 30, 40, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    min-height: 200px;
    cursor: default;
}

.save-card.filled:hover {
    border-color: rgba(251, 191, 36, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}

.save-card.empty {
    border: 2px dashed rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    justify-content: center;
    align-items: center;
    cursor: pointer;
    min-height: 200px;
}

.save-card.empty:hover {
    border-color: rgba(251, 191, 36, 0.5);
    background: rgba(251, 191, 36, 0.05);
}

.save-card.empty .save-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.empty-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.save-card.empty:hover .empty-icon-wrapper {
    background: rgba(251, 191, 36, 0.2);
    transform: scale(1.1);
}

.empty-icon-wrapper i {
    font-size: 24px;
    color: #808080;
    transition: color 0.3s ease;
}

.save-card.empty:hover .empty-icon-wrapper i {
    color: #fbbf24;
}

.empty-text {
    font-size: 16px;
    font-weight: 600;
    color: #a0a0a0;
}

.slot-label {
    font-size: 12px;
    color: #606060;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.save-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    z-index: 0;
}

.save-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.save-card.filled:hover .save-card-bg img {
    opacity: 0.8;
}

.save-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(20, 20, 30, 0.95) 80%);
}

.save-card-header {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
}

.save-slot-number {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.save-route-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

.save-route-badge.ntr {
    color: #fca5a5;
    border-color: rgba(220, 38, 38, 0.5);
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.3);
}

.save-route-badge.love {
    color: #f9a8d4;
    border-color: rgba(219, 39, 119, 0.5);
    box-shadow: 0 0 10px rgba(219, 39, 119, 0.3);
}

.save-card-info {
    position: relative;
    z-index: 1;
    margin-top: 50px;
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.save-name {
    font-size: 18px;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.save-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #d0d0d0;
    margin-bottom: 6px;
}

.save-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.save-meta i {
    color: #fbbf24;
    font-size: 11px;
}

.save-date {
    font-size: 11px;
    color: #808080;
    font-style: italic;
}

.save-card-actions {
    position: relative;
    z-index: 1;
    padding: 12px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    gap: 8px;
    background: rgba(0, 0, 0, 0.2);
}

.save-action-btn {
    flex: 1;
    height: 36px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s ease;
    color: white;
}

.save-action-btn.load {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.save-action-btn.load:hover {
    background: rgba(251, 191, 36, 0.3);
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.2);
}

.save-action-btn.overwrite {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #b0b0b0;
}

.save-action-btn.overwrite:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.save-action-btn.export {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
}

.save-action-btn.export:hover {
    background: rgba(59, 130, 246, 0.25);
    color: white;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.2);
}

.save-action-btn.delete {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.save-action-btn.delete:hover {
    background: rgba(239, 68, 68, 0.25);
    color: white;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.2);
}

#phoneUnreadBadge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: none;
    align-items: center;
    justify-content: center;
}

.inventory-container {
    padding: 20px;
}

.inventory-header {
    margin-bottom: 20px;
}

.inventory-count {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 16px;
}

.inventory-count-current {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.inventory-count-separator {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.3);
}

.inventory-count-max {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.5);
}

.inventory-count-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    margin-left: 8px;
}

.inventory-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.inventory-filter-btn {
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.inventory-filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.inventory-filter-btn.active {
    background: rgba(251, 191, 36, 0.2);
    border-color: #fbbf24;
    color: #fbbf24;
}

.inventory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 12px;
}

.inventory-empty {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.inventory-empty-icon {
    font-size: 48px;
    opacity: 0.3;
    margin-bottom: 12px;
}

.inventory-empty-icon i {
    font-size: 48px;
}

.inventory-empty-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
}

.inventory-item {
    position: relative;
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.inventory-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.inventory-item-icon {
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inventory-item-icon i {
    font-size: 22px;
}

.inventory-item-quantity {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
}

.inventory-item-quest {
    position: absolute;
    top: 4px;
    right: 4px;
    color: #fbbf24;
    font-size: 12px;
}

.inventory-item-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: rgba(20, 20, 30, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 12px;
    min-width: 200px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    pointer-events: none;
}

.inventory-item:hover .inventory-item-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-12px);
}

.tooltip-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.tooltip-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
    line-height: 1.4;
}

.tooltip-effects {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.tooltip-effect {
    font-size: 11px;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.tooltip-actions {
    display: flex;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tooltip-action {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.tooltip-action.use {
    color: #3b82f6;
}

.tooltip-action.gift {
    color: #ec4899;
}

.shop-container {
    padding: 20px;
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.shop-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.shop-icon {
    font-size: 32px;
}

.shop-icon i {
    font-size: 32px;
}

.shop-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.shop-info p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.shop-money {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.15);
    padding: 10px 16px;
    border-radius: 20px;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.money-icon {
    font-size: 20px;
}

.money-value {
    font-size: 18px;
    font-weight: 600;
    color: #22c55e;
}

.shop-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shop-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.2s;
}

.shop-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.shop-item.cannot-afford {
    opacity: 0.6;
}

.shop-item-icon {
    font-size: 28px;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.shop-item-icon i {
    font-size: 24px;
}

.shop-item-info {
    flex: 1;
    min-width: 0;
}

.shop-item-name {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.shop-item-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 6px;
}

.shop-item-effects {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.effect-badge {
    font-size: 10px;
    padding: 2px 8px;
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border-radius: 10px;
}

.shop-item-owned {
    font-size: 11px;
    color: rgba(139, 92, 246, 0.8);
    margin-top: 4px;
}

.shop-item-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.price-value {
    font-size: 16px;
    font-weight: 600;
    color: #fbbf24;
}

.shop-buy-btn {
    padding: 8px 20px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.shop-buy-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #16a34a, #15803d);
    transform: translateY(-1px);
}

.shop-buy-btn:disabled {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .toast-container {
        top: auto;
        bottom: 20px;
        right: 10px;
        left: 10px;
    }

    .toast {
        min-width: auto;
        max-width: 100%;
    }

    .category-achievements {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .phone-container {
        flex-direction: column;
        height: 600px;
    }

    .phone-sidebar {
        width: 100%;
        height: 200px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .inventory-grid {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    }
}

.settings-modern-container {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.settings-header-banner {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.05));
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.settings-header-banner i {
    font-size: 32px;
    color: #60a5fa;
    margin-bottom: 10px;
    display: inline-block;
}

.fa-spin-hover:hover {
    animation: fa-spin 2s infinite linear;
}

.settings-header-banner h2 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 5px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.settings-header-banner p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin: 0;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.settings-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.settings-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.15);
}

.settings-card-header {
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-icon {
    width: 32px;
    height: 32px;
    background: rgba(59, 130, 246, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
    font-size: 14px;
}

.settings-card-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #e2e8f0;
}

.settings-card-body {
    padding: 20px;
}

.setting-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.setting-row:last-child {
    margin-bottom: 0;
}

.setting-info {
    flex: 1;
    margin-right: 15px;
}

.setting-name {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: #f1f5f9;
    margin-bottom: 4px;
}

.setting-desc {
    display: block;
    font-size: 12px;
    color: #94a3b8;
}

.modern-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.modern-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked+.toggle-slider {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

input:checked+.toggle-slider:before {
    transform: translateX(24px);
}

.setting-slider-row {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px 15px;
    border-radius: 10px;
}

.modern-slider {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    outline: none;
}

.modern-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #60a5fa;
    cursor: pointer;
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.2);
    transition: transform 0.1s, box-shadow 0.1s;
}

.modern-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 0 0 6px rgba(96, 165, 250, 0.2);
}

.slider-value {
    font-size: 14px;
    font-weight: 600;
    color: #60a5fa;
    min-width: 40px;
    text-align: right;
}

.modern-input-number {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    padding: 8px 12px;
    width: 70px;
    text-align: center;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.modern-input-number:focus {
    border-color: #60a5fa;
}

.settings-card-footer {
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.settings-reset-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.settings-reset-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.cheats-modern-container {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.cheats-locked-overlay {
    text-align: center;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.locked-icon-pulse {
    width: 80px;
    height: 80px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #f59e0b;
    margin-bottom: 24px;
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
    animation: pulse-orange 2s infinite;
}

@keyframes pulse-orange {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(245, 158, 11, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

.locked-title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
    letter-spacing: -0.5px;
}

.locked-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 400px;
    margin: 0 0 40px;
    line-height: 1.6;
}

.locked-input-group {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    width: 100%;
    max-width: 400px;
}

.modern-input-code {
    flex: 1;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 20px;
    color: #fff;
    font-size: 16px;
    text-align: center;
    letter-spacing: 2px;
    outline: none;
    transition: all 0.3s;
}

.modern-input-code:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
}

.modern-btn-primary {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: none;
    border-radius: 12px;
    padding: 0 24px;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
}

.modern-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
}

.locked-hint {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.locked-hint-link {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}

.locked-hint-link:hover {
    color: rgba(255, 255, 255, 0.95);
}

.locked-hint-link.patreon:hover {
    color: #ff424d;
}

.locked-hint-link.subscribestar:hover {
    color: #f5a623;
}

.locked-hint-ss-icon {
    height: 1em;
    width: auto;
    vertical-align: middle;
}

.cheats-tab-nav {
    display: flex;
    gap: 0;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 12px;
    padding: 6px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

.cheat-tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.cheat-tab-btn i {
    font-size: 16px;
    opacity: 0.8;
}

.cheat-tab-btn:hover {
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.04);
}

.cheat-tab-btn.active {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.15);
}

.cheat-tab-btn.active i {
    color: #fbbf24;
    opacity: 1;
}

.cheat-tab-indicator {
    display: none;
}

.cheats-layout {
    display: flex;
    height: 100%;
    gap: 20px;
}

.cheats-sidebar {
    width: 200px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cheats-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fbbf24;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cheats-brand i {
    font-size: 20px;
}

.cheats-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cheat-nav-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.cheat-nav-btn i {
    width: 20px;
    text-align: center;
}

.cheat-nav-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.cheat-nav-btn.active {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
}

.cheats-main-content {
    flex: 1;
    overflow-y: auto;
}

.cheats-scroll-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-bottom: 40px;
}

.cheats-card {
    background: rgba(30, 41, 59, 0.7);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.card-header {
    background: rgba(0, 0, 0, 0.2);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-header i {
    color: #fbbf24;
    font-size: 18px;
}

.card-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #e2e8f0;
}

.card-body {
    padding: 24px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-input-group {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-input-group label {
    font-size: 13px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modern-input {
    width: 60px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #fff;
    padding: 4px 8px;
    text-align: center;
    font-size: 14px;
    outline: none;
}

.modern-input:focus {
    border-color: #fbbf24;
    background: rgba(251, 191, 36, 0.05);
}

.money-group {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.money-group label {
    font-weight: 600;
    color: #34d399;
    display: flex;
    align-items: center;
    gap: 8px;
}

.money-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.money-input {
    width: 100px;
    text-align: right;
    border-color: rgba(16, 185, 129, 0.3);
}

.quick-add-btns {
    display: flex;
    gap: 8px;
}

.quick-btn {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-btn:hover {
    background: rgba(16, 185, 129, 0.25);
    transform: translateY(-1px);
}

.card-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.modern-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.modern-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateY(-1px);
}

.girls-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.girl-mini-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    transition: transform 0.2s;
}

.girl-mini-card:hover {
    transform: translateY(-2px);
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(251, 191, 36, 0.2);
}

.girl-mini-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.girl-mini-header img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fbbf24;
}

.girl-mini-header span {
    font-weight: 600;
    color: #f1f5f9;
}

.girl-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.girl-stat-row:last-child {
    margin-bottom: 0;
}

.stat-label {
    font-size: 13px;
    color: #94a3b8;
}

.modern-input-small {
    width: 50px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: #fff;
    padding: 2px 6px;
    text-align: center;
    font-size: 12px;
    outline: none;
}

.modern-input-small:focus {
    border-color: #fbbf24;
}

.empty-state {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    padding: 40px;
    font-style: italic;
}

.saves-toolbar {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.toolbar-btn {
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #e0e0e0;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.toolbar-btn:hover {
    background: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.3);
    color: #fbbf24;
    transform: translateY(-2px);
}

.saves-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .saves-grid {
        grid-template-columns: 1fr;
    }
}

.save-card {
    position: relative;
    background: rgba(30, 30, 40, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    min-height: 200px;
    cursor: default;
}

.save-card.filled:hover {
    border-color: rgba(251, 191, 36, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}

.save-card.empty {
    border: 2px dashed rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    justify-content: center;
    align-items: center;
    cursor: pointer;
    min-height: 200px;
}

.save-card.empty:hover {
    border-color: rgba(251, 191, 36, 0.5);
    background: rgba(251, 191, 36, 0.05);
}

.save-card.empty .save-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.empty-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.save-card.empty:hover .empty-icon-wrapper {
    background: rgba(251, 191, 36, 0.2);
    transform: scale(1.1);
}

.empty-icon-wrapper i {
    font-size: 24px;
    color: #808080;
    transition: color 0.3s ease;
}

.save-card.empty:hover .empty-icon-wrapper i {
    color: #fbbf24;
}

.empty-text {
    font-size: 16px;
    font-weight: 600;
    color: #a0a0a0;
}

.slot-label {
    font-size: 12px;
    color: #606060;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.save-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    z-index: 0;
}

.save-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.save-card.filled:hover .save-card-bg img {
    opacity: 0.8;
}

.save-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(20, 20, 30, 0.95) 80%);
}

.save-card-header {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
}

.save-slot-number {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.save-route-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

.save-route-badge.ntr {
    color: #fca5a5;
    border-color: rgba(220, 38, 38, 0.5);
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.3);
}

.save-route-badge.love {
    color: #f9a8d4;
    border-color: rgba(219, 39, 119, 0.5);
    box-shadow: 0 0 10px rgba(219, 39, 119, 0.3);
}

.save-card-info {
    position: relative;
    z-index: 1;
    margin-top: 50px;
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.save-name {
    font-size: 18px;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.save-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #d0d0d0;
    margin-bottom: 6px;
}

.save-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.save-meta i {
    color: #fbbf24;
    font-size: 11px;
}

.save-date {
    font-size: 11px;
    color: #808080;
    font-style: italic;
}

.save-card-actions {
    position: relative;
    z-index: 1;
    padding: 12px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    gap: 8px;
    background: rgba(0, 0, 0, 0.2);
}

.save-action-btn {
    flex: 1;
    height: 36px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s ease;
    color: white;
}

.save-action-btn.load {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.save-action-btn.load:hover {
    background: rgba(251, 191, 36, 0.3);
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.2);
}

.save-action-btn.overwrite {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #b0b0b0;
}

.save-action-btn.overwrite:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.save-action-btn.export {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
}

.save-action-btn.export:hover {
    background: rgba(59, 130, 246, 0.25);
    color: white;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.2);
}

.save-action-btn.delete {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}


.save-action-btn.delete:hover {
    background: rgba(239, 68, 68, 0.25);
    color: white;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.2);
}

.modern-phone {
    background: rgba(22, 22, 24, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    overflow: hidden;
    width: 900px;
    max-width: 95vw;
    height: 700px;
    max-height: 85vh;
    display: flex;
}

.phone-sidebar {
    width: 320px;
    background: rgba(30, 30, 35, 0.4);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
}

.phone-status-bar {
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 600;
}

.phone-status-icons {
    display: flex;
    gap: 8px;
    font-size: 12px;
}

.phone-search-bar {
    margin: 10px 16px 16px;
    position: relative;
}

.phone-search-bar i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

.phone-search-bar input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px 12px 10px 36px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
}

.phone-search-bar input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.phone-contacts-list {
    flex: 1;
    overflow-y: auto;
    padding: 0 16px;
}

.phone-contacts-list::-webkit-scrollbar,
.chat-messages-area::-webkit-scrollbar {
    width: 6px;
}

.phone-contacts-list::-webkit-scrollbar-track,
.chat-messages-area::-webkit-scrollbar-track {
    background: transparent;
}

.phone-contacts-list::-webkit-scrollbar-thumb,
.chat-messages-area::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.phone-contacts-list::-webkit-scrollbar-thumb:hover,
.chat-messages-area::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modern-contact-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 4px;
    position: relative;
}

.modern-contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.modern-contact-item.active {
    background: rgba(255, 255, 255, 0.1);
}

.contact-avatar-wrapper {
    position: relative;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.contact-avatar {
    display: block;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    max-width: 48px;
    max-height: 48px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

.contact-status-online {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background: #22c55e;
    border: 2px solid #2d2d35;
    border-radius: 50%;
}

.contact-info-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.contact-name {
    font-weight: 600;
    color: #fff;
    font-size: 15px;
}

.contact-time {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
}

.contact-preview-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-preview {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 8px;
}

.contact-preview.unread-preview {
    color: #fff;
    font-weight: 500;
}

.modern-unread-badge {
    background: #8b5cf6;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

.phone-main-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    background: rgba(0, 0, 0, 0.2);
}

.chat-header {
    height: 70px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(30, 30, 35, 0.6);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 10;
}

.chat-header-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-header-user .chat-header-avatar,
.phone-main-area .chat-header-avatar {
    display: block;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

.chat-header-info {
    display: flex;
    flex-direction: column;
}

.chat-header-name {
    font-weight: 600;
    font-size: 16px;
    color: #fff;
}

.chat-header-status {
    font-size: 12px;
    color: #22c55e;
}

.chat-header-actions {
    display: flex;
    gap: 16px;
}

.chat-action-btn {
    background: none;
    border: none;
    color: #8b5cf6;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.2s;
    padding: 8px;
    border-radius: 50%;
}

.chat-action-btn:hover {
    background: rgba(139, 92, 246, 0.1);
}

.chat-messages-area {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    scroll-behavior: smooth;
    background-image: radial-gradient(circle at center, rgba(139, 92, 246, 0.03) 0%, transparent 70%);
}

.chat-empty-encryption {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 16px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    margin: 20px auto;
    max-width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.chat-empty-encryption i {
    color: #fbbf24;
    font-size: 14px;
}

.chat-date-divider {
    text-align: center;
    margin: 16px 0;
    position: relative;
}

.chat-date-divider span {
    background: rgba(40, 40, 50, 0.8);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

.message-row {
    display: flex;
    margin-bottom: 4px;
}

.message-left {
    justify-content: flex-start;
}

.message-right {
    justify-content: flex-end;
}

.message-bubble {
    max-width: 70%;
    padding: 10px 16px;
    border-radius: 18px;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.bubble-secondary {
    background: rgba(50, 50, 60, 0.9);
    border-bottom-left-radius: 4px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.bubble-primary {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border-bottom-right-radius: 4px;
    color: #fff;
}

.message-text {
    line-height: 1.5;
    font-size: 14.5px;
    word-break: break-word;
}

.message-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    margin-top: 4px;
    opacity: 0.7;
}

.message-time {
    font-size: 10px;
}

.message-status {
    font-size: 10px;
}

.message-media-container {
    margin: -4px -10px 8px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.message-media-content {
    width: 300px;
    max-width: 100%;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.media-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.media-overlay i {
    font-size: 24px;
    color: #fff;
    opacity: 0.8;
}

.message-media-container:hover .media-overlay {
    background: rgba(0, 0, 0, 0.1);
}

.chat-input-area {
    padding: 16px 24px;
    background: rgba(30, 30, 35, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-attach-btn,
.chat-emoji-btn,
.chat-send-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-attach-btn:hover,
.chat-emoji-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.chat-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.2s;
}

.chat-input-wrapper:focus-within {
    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.chat-input {
    flex: 1;
    background: none;
    border: none;
    padding: 12px 16px;
    color: #fff;
    font-size: 15px;
    outline: none;
}

.chat-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.chat-send-btn {
    background: #8b5cf6;
    color: #fff;
    width: 44px;
    height: 44px;
}

.chat-send-btn:hover {
    background: #7c3aed;
    transform: scale(1.05);
}

.chat-send-btn:active {
    transform: scale(0.95);
}

.phone-no-chat-selected {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    color: rgba(255, 255, 255, 0.4);
}

.no-chat-illustration {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.no-chat-illustration i {
    font-size: 40px;
    color: rgba(255, 255, 255, 0.2);
}

.phone-no-chat-selected h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 500;
}

.phone-media-expanded-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.expanded-media-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.expanded-video {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.expanded-close-btn {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.expanded-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.phone-modal-override {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    max-width: 95vw !important;
    width: auto !important;
}

.phone-modal-override .modal-header {
    display: none;
}

.phone-modal-override .modal-body {
    padding: 0;
}

.girls-stats-container {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.girls-stats-header {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.girls-stats-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.girls-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding-bottom: 20px;
}

.girl-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.girl-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

.girl-card-header {
    height: 120px;
    position: relative;
}

.girl-card-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
}

.girl-card:hover .girl-card-bg {
    opacity: 0.8;
}

.girl-avatar-container {
    position: absolute;
    bottom: -20px;
    left: 20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    padding: 4px;
    background: rgba(20, 20, 25, 0.8);
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.girl-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.girl-card-content {
    padding: 24px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.girl-info-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
    padding-left: 90px;
    margin-top: -30px;
    min-height: 40px;
}

.girl-name-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.girl-status-badge {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    white-space: nowrap;
}

.girl-stats-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 14px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 4px;
    gap: 0.5rem;
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
}

.stat-header span:first-child {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
}

.stat-value {
    font-family: inherit;
    font-weight: 600;
    color: #fff;
    font-size: 13px;
    background: none;
    padding: 0;
}

.stat-bar-bg {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg) translateX(-150%);
    animation: shimmer 2s infinite;
}

.theme-love .stat-bar-fill {
    background: linear-gradient(90deg, #ec4899, #f43f5e);
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.3);
}

.theme-love .girl-avatar-container {
    border: 2px solid rgba(236, 72, 153, 0.3);
}

.theme-corruption .stat-bar-fill {
    background: linear-gradient(90deg, #dc2626, #ef4444);
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.3);
}

.theme-corruption .girl-avatar-container {
    border: 2px solid rgba(220, 38, 38, 0.3);
}

.theme-neutral .stat-bar-fill {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.theme-neutral .girl-avatar-container {
    border: 2px solid rgba(59, 130, 246, 0.3);
}

.milestone-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.milestone-tag {
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.theme-love .milestone-tag {
    background: rgba(236, 72, 153, 0.1);
    border-color: rgba(236, 72, 153, 0.2);
    color: #f9a8d4;
}

.theme-corruption .milestone-tag {
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.2);
    color: #fca5a5;
}

.no-girls-message {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.no-girls-icon {
    font-size: 48px;
    opacity: 0.3;
    margin-bottom: 8px;
}

@keyframes shimmer {
    0% {
        transform: skewX(-20deg) translateX(-150%);
    }

    100% {
        transform: skewX(-20deg) translateX(150%);
    }
}

.repeatable-action-menu-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 16px;
    padding: 8px;
}

.repeatable-action-menu-container .choice-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
    min-height: 72px;
}

.repeatable-action-menu-container .choice-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.repeatable-action-menu-container .choice-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.repeatable-action-menu-container .choice-btn:hover::before {
    opacity: 1;
}

.repeatable-action-menu-container .action-menu-icon {
    font-size: 22px;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease;
}

.repeatable-action-menu-container .choice-btn:hover .action-menu-icon {
    transform: scale(1.15);
}

.repeatable-action-menu-container .choice-text {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.3px;
    z-index: 1;
    line-height: 1.2;
}

.action-btn-talk {
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.05)) !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
}
.action-btn-talk:hover {
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.2) !important;
    border-color: rgba(59, 130, 246, 0.6) !important;
}
.action-btn-talk .action-menu-icon { color: #60a5fa; }

.action-btn-gift {
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.05)) !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
}
.action-btn-gift:hover {
    box-shadow: 0 12px 24px rgba(5, 150, 105, 0.2) !important;
    border-color: rgba(16, 185, 129, 0.6) !important;
}
.action-btn-gift .action-menu-icon { color: #34d399; }

.action-btn-action {
    background: linear-gradient(145deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.05)) !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
}
.action-btn-action:hover {
    box-shadow: 0 12px 24px rgba(220, 38, 38, 0.2) !important;
    border-color: rgba(239, 68, 68, 0.6) !important;
}
.action-btn-action .action-menu-icon { color: #f87171; }

.action-btn-action.love-action {
    background: linear-gradient(145deg, rgba(236, 72, 153, 0.15), rgba(219, 39, 119, 0.05)) !important;
    border-color: rgba(236, 72, 153, 0.3) !important;
}
.action-btn-action.love-action:hover {
    box-shadow: 0 12px 24px rgba(219, 39, 119, 0.2) !important;
    border-color: rgba(236, 72, 153, 0.6) !important;
}
.action-btn-action.love-action .action-menu-icon { color: #f472b6; }

.action-btn-clue {
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.15), rgba(124, 58, 237, 0.05)) !important;
    border-color: rgba(139, 92, 246, 0.3) !important;
}
.action-btn-clue:hover {
    box-shadow: 0 12px 24px rgba(124, 58, 237, 0.2) !important;
    border-color: rgba(139, 92, 246, 0.6) !important;
}
.action-btn-clue .action-menu-icon { color: #a78bfa; }

.action-btn-back {
    background: rgba(255, 255, 255, 0.02) !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
}
.action-btn-back:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}
.action-btn-back .action-menu-icon { color: rgba(255, 255, 255, 0.5); }

@media (max-width: 640px) {
    .repeatable-action-menu-container {
        grid-template-columns: repeat(2, 1fr);
    }
}